import 'package:equatable/equatable.dart';
import 'package:backend.purchases/domain/entities/yookassa_api/payments/yookassa_api_payment_cancellation_party.dart';
import 'package:backend.purchases/domain/entities/yookassa_api/payments/yookassa_api_payment_cancellation_reason.dart';

class YookassaApiPaymentCancellationDetails extends Equatable {
  const YookassaApiPaymentCancellationDetails({
    required this.party,
    required this.reason,
  });

  final YookassaApiPaymentCancellationParty party;
  final YookassaApiPaymentCancellationReason reason;

  @override
  List<Object?> get props {
    return [
      party,
      reason,
    ];
  }
}
